﻿using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

using System.ComponentModel;

namespace TMTemplate
{
	public partial class Button : UserControl
	{
		public Button()
		{
			InitializeComponent();
			MouseEnter += new MouseEventHandler((s, e) => { VisualStateManager.GoToState(this, "Enter", false); });
            MouseLeave += new MouseEventHandler((s, e) => { VisualStateManager.GoToState(this, "Normal", false); });
		}
		
		[Category("Common Properties")]
        public string Text
        {
            get { return text.Text; }
            set { text.Text = value; }
        }
	}
}